<?php
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
class signup extends CI_Controller{
    public function __constuctor(){
        parent::__construct();

    }
    public function index(){
        $this->load->model("signup_MD","signupHelper");
        $status=$this->signupHelper->signUpUser($_POST);
        if($status){
            redirect(base_url()."/profile");
           //$this->load->view("profile_v",$this->session->userdata("userData"));
        }else{
           show_404();
        }
    }
}

?>
